projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a16949
)
(x_catch_errors): Use xmalloc.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 20 Feb 2006 01:18:43 +0000
(
01:18
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 20 Feb 2006 01:18:43 +0000
(
01:18
+0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index c1a7e95d1f0dc549542ddec76596348bcd6ea2d1..ec5f657ab313124dc01f5140d2bed79b8de09e93 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-7513,7
+7513,7
@@
x_catch_errors (dpy)
Display *dpy;
{
int count = SPECPDL_INDEX ();
- struct x_error_message_stack *data = malloc (sizeof (*data));
+ struct x_error_message_stack *data =
x
malloc (sizeof (*data));
Lisp_Object dummy;
#ifdef ENABLE_CHECKING
dummy = make_number ((EMACS_INT)dpy + (EMACS_INT)x_error_message);